import datetime


def sec_to_hms(seconds) -> str:
    dt = datetime.timedelta(seconds=seconds)
    hours = dt.seconds // 3600
    minutes = (dt.seconds % 3600) // 60
    seconds = dt.seconds % 60
    return '{:02}:{:02}:{:02}'.format(hours, minutes, seconds)
